package cn.wen.yinxiu.member.server.protocol.talk;

import cn.wen.yinxiu.member.server.protocol.Command;
import cn.wen.yinxiu.member.server.protocol.Packet;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * @ClassName: TalkNoticeRequest
 * @Author: 小飞
 * @Date: 2023/5/28 14:50
 * @Description: 对话通知请求
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TalkNoticeRequest extends Packet {

    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 对方ID
     */
    private Long talkId;
    /**
     * 对话框类型[0好友、1群组]
     */
    private Integer talkType;

    @Override
    public Byte getCommand() {
        return Command.TalkNoticeRequest;
    }
}
